<template>
  <view class="video-btn" @click="$emit('click')">
    <text class="iconfont text-white" :style="'font-size:' + size + 'px;'">{{
      icon
    }}</text>
  </view>
</template>

<script>
export default {
  props: {
    icon: {
      type: String,
      default: "",
    },
    size: {
      type: [String, Number],
      default: 20,
    },
  },
};
</script>

<style></style>
